﻿/* 繁体|简体 互相转换类
 * 使用该类需要引用：Microsoft.VisualBasic.dll
 */

namespace LSLib.StringEx
{
    using Microsoft.VisualBasic;

    public static class TraditionalConvertCls
    {
        /// <summary>繁体转简体
        /// </summary>
        public static string TraditionalChineseToSimplifiedChinese(string inputStr)
        {
            return (Strings.StrConv(inputStr, VbStrConv.SimplifiedChinese, 0));
        }

        /// <summary>简体转繁体
        /// </summary>
        public static string SimplifiedChineseToTraditionalChinese(string inputStr)
        {
            return (Strings.StrConv(inputStr, VbStrConv.TraditionalChinese, 0));
        }
    }
}
